import axios from './interceptor '
const http = {
    get:function(url,data,config){
      console.log(url,data,config)
      return axios.get(url,{params:{...data},...config})
    },
    post:function(url,data,config){
      console.log(data)
      return axios.post(url,{...data},{...config})
    },
}
export default http